package org.rujue.modules.sys.dao;

import org.rujue.common.persistence.TreeDao;
import org.rujue.modules.sys.entity.Office;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 机构DAO接口
 *
 * @author ThinkGem
 * @version 2014-05-16
 */
@Mapper
public interface OfficeDao extends TreeDao<Office> {
    List<Office> findSelfAndSubList(Office office);

    Office getByName(String name);
}
